<{include file="admincp_xheader.htm"}>
<style type="text/css">
	html{overflow-x:hidden;}
	.leftinfo{float:none;margin-right:188px;_margin-right:206px;}
	.rightinfo{float:none;position:absolute;top:0px;right:0px;width:185px;height:532px;display:none;margin-top:0px;z-index:1;}
	.templatearea{width:99.4%;margin-right:0px;height:465px;}
	.templateareatable{height:495px;}
	.templatehelp{padding:5px;overflow:hidden;height:494px;_height:496px;height:496px\9;}
</style>
<body>
<div class="block"></div>
<div id="leftinfo" class=''>
	<form action="index.php?file=admincp&action=template&job=save" method="POST">
		<input type="hidden" name="template" value="<{$template}>">
		<table cellspacing="1" cellpadding="4" align="center" class="commontable width100 templateareatable">
			<tr class="header">
				<td><div class="righttop"><a href="<{h name='template'}>" target="_blank"><{$lan.help}></a></div><{$lan.system_templates}>(<{$template}>)</td>
			</tr>
			<tr>
				<td align="center">
					<table width="100%" border="0" cellpadding="0" cellspacing="0">
						<tr>
							<td><textarea name="html" rows="25" class="template templatearea"><{$str_template}></textarea>
								<div class="block"></div>
								<div style='text-align:center;'><input type="submit" value="<{$lan.save}>" name="save_template"></div>
							</td>
						</tr>
					</table>
				</td>
			</tr>
		</table>
	</form>
</div>
<{include file='templatehelp.htm'}>
<div style="clear:both;"></div>

<script type="text/javascript">

$(document).ready(function(){
	safeloadiframe("http://www.akcms.com/embed/template1.htm", 'dyframe', 'rightinfo', 'leftinfo', 'leftinfo');
});

</script>
</body>
</html>